# #赋值运算符使用所示
# a = 8 #直接赋值
# a += 2 #相当于a=a+2
# print(a)
# a -= 2 #相当于a=a-2
# print(a)
# a *= 2 #相当于a=a*2
# print(a)
# a /= 2 #相当于a=a/2
# print(a)

# #比较运算符使用所示：== != > < >= <=
# a=2
# b=11
# print(a==b)
# print(a!=b)
# print(a>b)
# print(a<b)
# print(a>=b)
# print(a<=b)

# #逻辑运算符使用所示
# print(True and False)
# print(True and True)
# print(True or False)
# print(not False)

# 成员运算符使用所示
str1 = "hello"
print("h" in str1)
print("a" in str1)
print("c" not in str1)
print("o" not in str1)
